<style>
body {
	text-align:center;
	margin:0px;
}

#account_right_content {
	position: absolute;
	z-index: auto;
	height: auto;
	width: 1000px;
	left:0px;
	top:80px;

}
#account_right_menu {
	width:200px;
	padding-left:20px;
	height:auto;
	text-align:left;	
}
#account_right_top {
	width:700px;
	height:auto;
	margin-top:10px;
	padding-left:150px;

}

#account_right_content #account_right_top table tr td {
	font-family: "ＭＳ Ｐゴシック", "ＭＳ ゴシック", "ＭＳ Ｐ明朝", "ＭＳ 明朝", "MS UI Gothic";
	font-size: 14px;
}
</style>
	<!--{include /service/service_head}-->
	<div id="account_right_content">
	<div id="account_right_menu">
		<ul style="padding-left : 8px, left : 0, ">
			${accountmanage_backend($oauthMap)}
		</ul>
	</div>
	
	<div id="account_right_top">
		<table border="1" cellpadding="0" cellspacing="0" width="700">
		<tr align="center">
			<td align="center" width="100">管理者名前</td>
			<td align="center">管理者権限</td>
		</tr>
		<!--{loop $adminRightList $index $one}-->
		<tr>
			<td>
				{$adminUsers[$index]['family_name']} {$adminUsers[$index]['personal_name']}
			</td>
			<td>
				${str_replace(", , , , , , , , , ,","￤",Utility::OauthRights($one))}
			</td>
			
		</tr>
		<!--{/loop}-->
		</table>
		</form>
	</div>
	</div>
</body>
</html>
<script type="text/javascript"> 
jQuery(function(){
	$("select[name='shop_id']").bind("change", function(){
		if( $(this).val() < 1 ){
			return ;
		}
		$.get("{$webRoot}/service/searchStaff.php", "shop_id=" + $(this).val(), function(data){
			
			var options = '<option value="0">選択してください</option>';
			if( data.error == 0 ){
				for(var index in data.data){
					if( !index ){
						continue;
					}
					options = options + '<option value="' + data.data[index].id + '">' + data.data[index].family_name + " " + data.data[index].personal_name + '</option>';
					
				}
			}
			$("#staff_id").html(options);
		}, "json");
		
	});
});
</script> 
</html> 